import React from 'react';
import styles from './isCommitAlert.css';

const DeleteBtn = ({
  okClick=()=>{},
  cancelClick=()=>{},
  tipsContent='',
  withdrawMoney=0
}) => {

  return (
    <div className={styles.btnContent}>
      {/* <div className={styles.title}>提示</div> */}
      <div className={styles.vipTips}>
        <div className={styles.tips}>
          <span>{tipsContent}</span>
          <span>金额</span>
          <span className={styles.withdrawMoney}>
            {withdrawMoney ? `￥${withdrawMoney}` : '0'}
          </span>
        </div>
      </div>
      <div className={styles.btns}>
        <div className={styles.cancelBtn} onClick={cancelClick}>取消</div>
        <div className={styles.cancelBtn2} onClick={okClick}>确定</div>
      </div>
    </div>

  );
}
export default DeleteBtn;
